import {createStore,applyMiddleware} from 'redux';
import thunk from 'redux-thunk';
// 让所有小的reducer都合并一个大的immutable对象 reducer
import {combineReducers} from 'redux-immutable';
import {composeWithDevTools} from 'redux-devtools-extension'
import film from '../reduers/films'
const reducer = combineReducers({
    film
})
export default createStore (
    reducer,
    composeWithDevTools(applyMiddleware(thunk))
)